package cn.itcast.order.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "zhangsan")
@Data
public class UserProperties {
    private String name;

    private Integer gender;

    private Integer age;
}
